flask: fix error propagation from flask_security_set_bool()
authorJan Beulich <jbeulich@suse.com>
Tue, 11 Feb 2014 10:13:22 +0000 (11:13 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Feb 2014 10:13:22 +0000 (11:13 +0100)
commit31f3620be0e3158c205a3669135f9c4bfa40b1c7
tree1118a63116267de4fa8cc6ebe707da370e3c6893
parent57c9f2caf05de41913b3e4eb48c0c3ad6c18dd3f
flask: fix error propagation from flask_security_set_bool()

The function should return an error when flask_security_make_bools()
fails as well as when the input ID is out of range.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
xen/xsm/flask/flask_op.c